package com.xxgc.spring.service.imp;

import com.xxgc.spring.service.IUserLoginService;

public class UserLoginService implements IUserLoginService{

    public int userLogin(String uName, String uPass) {
        if("zang".equals(uName) && "123456".equals(uPass)){
            System.out.println("登录成功");
        }else{
            System.out.println("对不起，您的用户名或密码错误" );
        }
        return 0;
    }

    public int userRegister(String uName, String uPass) {
        return 0;
    }

    public void someMsg(){

    }
}
